using Ant.Dto.PersonnelDto;
using AutoMapper;
using Ant.EntityFrameworkCore.Model;

namespace Ant.Service.PersonnelProfile
{
    public class UserProfile:AutoMapper.Profile
    {
        public UserProfile()
        {
            CreateMap<AddUserDto,UserInfo>();
            CreateMap<UserInfo,AddUserDto>();
            CreateMap<UserInfo,GetUserResDto>();
            CreateMap<Role,RoleDto>();
        }
        
    }
}